package com._520it._06_many2many.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
@ToString(exclude = "stuList")

public class Teacher {

    private  Long id ;
    private String  name;
    private List<Student> stuList = new ArrayList<>();

}
